<template>
    <div class="vue-popup">
        <div>是我</div>
        <div @click="itemCLick(msg)">点击我，计数：{{count}}</div>
        <div>props计数：{{propsIndex}}</div>
    </div>
</template>

<script>
    export default {
        name: "popupWindowDom",
        data(){
            return {
                count:0
            }
        },
        props:["propsIndex"],
        methods:{
            itemCLick(){
                this.count += 1;
            }
        },
        mounted(){
        }
    }
</script>

<style scoped>
.vue-popup{
    background-color: blue;
}
</style>